<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>主页面</title>
</head>
<body>
	
	<table border=1>
		<tr>
			<td>赛程</td>
			<td>赛事编号</td>
			<td>赛事</td>
			<td>时间</td>
			<td>主队vs客队</td>
			<td>让球0</td>
			<td>胜</td>
			<td>平</td>
			<td>负</td>
			<td>让球1</td>
			<td>让球胜</td>
			<td>让球平</td>
			<td>让球负</td>
			<td>数据</td>
			
		</tr>
		<c:forEach items="${games}" var="g">
		<tr>
			<td>${g.id}</td>
			<td>${g.match_number}</td>
			<td>${g.matchs}</td>
			<td>${g.match_time}</td>
			<!-- <td>周二18：30</td> -->
			<td>${g.host_team}vs${g.guest_team}</td>
			<td>0</td>
			<td>${g.win}</td>
			<td>${g.level}</td>
			<td>${g.loads}</td>
			<td>1</td>
			<td>${g.concede_win}</td>
			<td>${g.concede_level}</td>
			<td>${g.concede_load}</td>
			<td>特征</td>
			
			
		</tr>
		</c:forEach>
<%-- 		<td><a href="tosavePass?id=${g.id}">添加</a></td>  --%>
	</table>
	<input type="button" value="返回首页" onclick="window.location.href='main2.jsp'"> 
	<!-- <input type="button" value="个人信息修改" onclick="window.location.href='update2.jsp'">  -->
</body>
</html>